
import request from '@/utils/request';

// 查询列表
export async function queryWeakPsw(params) {
  return request('/s/weakpwd/queryPageList', {
    method: 'POST',
    data: params,
  });
}
// 新增
export async function addWeakPsw(params) {
  return request('/s/weakpwd/add', {
    method: 'POST',
    data: params,
  });
}

// 修改
export async function updateRole(params) {
  return request('/s/weakpwd/update', {
    method: 'POST',
    data: params,
  });
}


// 删除
export async function removeWeakPsw(params) {
  return request('/s/weakpwd/delete', {
    method: 'POST',
    data: params,
  });
}


// 导入
export async function importDate(params) {
  return request('/s/weakpwd/import', {
    method: 'POST',
    data: params,
  });
}
